angular.module('mamApp').controller('noticeDetailController', ['$scope', '$state', 'noticeManager','$sce',
    function ($scope, $state,noticeManager,$sce) {

    $scope.$sce = $sce;

    $scope.search = {
        noticeId:$state.params.noticeId
    };

    noticeManager.noticeDetail($scope.search.noticeId).then(function (result) {
        $scope.noticeDetail = result.data.noticeVO;
    });


}])

